3.2.67 \(\int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx\) [167]

3.2.67.1 Optimal result
3.2.67.2 Mathematica [A] (verified)
3.2.67.3 Rubi [C] (verified)
3.2.67.4 Maple [A] (verified)
3.2.67.5 Fricas [F]
3.2.67.6 Sympy [F]
3.2.67.7 Maxima [F]
3.2.67.8 Giac [F]
3.2.67.9 Mupad [F(-1)]

3.2.67.1 Optimal result

Integrand size = 20, antiderivative size = 98 \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\frac {2 \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )}{a c}+\frac {2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \]

output
2*arccosh(a*x)^2*arctanh(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c+2*arccosh(a* 
x)*polylog(2,-a*x-(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c-2*arccosh(a*x)*polylog( 
2,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c-2*polylog(3,-a*x-(a*x-1)^(1/2)*(a*x 
+1)^(1/2))/a/c+2*polylog(3,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c
 
3.2.67.2 Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.97 \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\frac {-\text {arccosh}(a x)^2 \log \left (1-e^{\text {arccosh}(a x)}\right )+\text {arccosh}(a x)^2 \log \left (1+e^{\text {arccosh}(a x)}\right )+2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )-2 \text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )-2 \operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )+2 \operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )}{a c} \]

input
Integrate[ArcCosh[a*x]^2/(c - a^2*c*x^2),x]
 
output
(-(ArcCosh[a*x]^2*Log[1 - E^ArcCosh[a*x]]) + ArcCosh[a*x]^2*Log[1 + E^ArcC 
osh[a*x]] + 2*ArcCosh[a*x]*PolyLog[2, -E^ArcCosh[a*x]] - 2*ArcCosh[a*x]*Po 
lyLog[2, E^ArcCosh[a*x]] - 2*PolyLog[3, -E^ArcCosh[a*x]] + 2*PolyLog[3, E^ 
ArcCosh[a*x]])/(a*c)
 
3.2.67.3 Rubi [C] (verified)

Result contains complex when optimal does not.

Time = 0.46 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.88, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {6318, 3042, 26, 4670, 3011, 2720, 7143}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx\)

\(\Big \downarrow \) 6318

\(\displaystyle -\frac {\int \frac {\text {arccosh}(a x)^2}{\sqrt {\frac {a x-1}{a x+1}} (a x+1)}d\text {arccosh}(a x)}{a c}\)

\(\Big \downarrow \) 3042

\(\displaystyle -\frac {\int i \text {arccosh}(a x)^2 \csc (i \text {arccosh}(a x))d\text {arccosh}(a x)}{a c}\)

\(\Big \downarrow \) 26

\(\displaystyle -\frac {i \int \text {arccosh}(a x)^2 \csc (i \text {arccosh}(a x))d\text {arccosh}(a x)}{a c}\)

\(\Big \downarrow \) 4670

\(\displaystyle -\frac {i \left (2 i \int \text {arccosh}(a x) \log \left (1-e^{\text {arccosh}(a x)}\right )d\text {arccosh}(a x)-2 i \int \text {arccosh}(a x) \log \left (1+e^{\text {arccosh}(a x)}\right )d\text {arccosh}(a x)+2 i \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )\right )}{a c}\)

\(\Big \downarrow \) 3011

\(\displaystyle -\frac {i \left (-2 i \left (\int \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )d\text {arccosh}(a x)-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )\right )+2 i \left (\int \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )d\text {arccosh}(a x)-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )\right )+2 i \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )\right )}{a c}\)

\(\Big \downarrow \) 2720

\(\displaystyle -\frac {i \left (-2 i \left (\int e^{-\text {arccosh}(a x)} \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )de^{\text {arccosh}(a x)}-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )\right )+2 i \left (\int e^{-\text {arccosh}(a x)} \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )de^{\text {arccosh}(a x)}-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )\right )+2 i \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )\right )}{a c}\)

\(\Big \downarrow \) 7143

\(\displaystyle -\frac {i \left (2 i \text {arccosh}(a x)^2 \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )-2 i \left (\operatorname {PolyLog}\left (3,-e^{\text {arccosh}(a x)}\right )-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )\right )+2 i \left (\operatorname {PolyLog}\left (3,e^{\text {arccosh}(a x)}\right )-\text {arccosh}(a x) \operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )\right )\right )}{a c}\)

input
Int[ArcCosh[a*x]^2/(c - a^2*c*x^2),x]
 
output
((-I)*((2*I)*ArcCosh[a*x]^2*ArcTanh[E^ArcCosh[a*x]] - (2*I)*(-(ArcCosh[a*x 
]*PolyLog[2, -E^ArcCosh[a*x]]) + PolyLog[3, -E^ArcCosh[a*x]]) + (2*I)*(-(A 
rcCosh[a*x]*PolyLog[2, E^ArcCosh[a*x]]) + PolyLog[3, E^ArcCosh[a*x]])))/(a 
*c)
 

3.2.67.3.1 Defintions of rubi rules used

rule 26
Int[(Complex[0, a_])*(Fx_), x_Symbol] :> Simp[(Complex[Identity[0], a])   I 
nt[Fx, x], x] /; FreeQ[a, x] && EqQ[a^2, 1]
 

rule 2720
Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Simp[v/D[v, x] 
   Subst[Int[FunctionOfExponentialFunction[u, x]/x, x], x, v], x]] /; Funct 
ionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; FreeQ 
[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x)) 
*(F_)[v_] /; FreeQ[{a, b, c}, x] && InverseFunctionQ[F[x]]]
 

rule 3011
Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.) 
*(x_))^(m_.), x_Symbol] :> Simp[(-(f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + 
b*x)))^n]/(b*c*n*Log[F])), x] + Simp[g*(m/(b*c*n*Log[F]))   Int[(f + g*x)^( 
m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e 
, f, g, n}, x] && GtQ[m, 0]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 4670
Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x 
_Symbol] :> Simp[-2*(c + d*x)^m*(ArcTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] 
 + (-Simp[d*(m/(f*fz*I))   Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*fz*x 
)], x], x] + Simp[d*(m/(f*fz*I))   Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e 
+ f*fz*x)], x], x]) /; FreeQ[{c, d, e, f, fz}, x] && IGtQ[m, 0]
 

rule 6318
Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symb 
ol] :> Simp[-(c*d)^(-1)   Subst[Int[(a + b*x)^n*Csch[x], x], x, ArcCosh[c*x 
]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0]
 

rule 7143
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S 
ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d 
, e, n, p}, x] && EqQ[b*d, a*e]
 
3.2.67.4 Maple [A] (verified)

Time = 0.46 (sec) , antiderivative size = 187, normalized size of antiderivative = 1.91

method result size
derivativedivides \(\frac {\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1+a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \operatorname {polylog}\left (3, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1-a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \operatorname {polylog}\left (3, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}}{a}\) \(187\)
default \(\frac {\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1+a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \operatorname {polylog}\left (3, -a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {\operatorname {arccosh}\left (a x \right )^{2} \ln \left (1-a x -\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}-\frac {2 \,\operatorname {arccosh}\left (a x \right ) \operatorname {polylog}\left (2, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}+\frac {2 \operatorname {polylog}\left (3, a x +\sqrt {a x -1}\, \sqrt {a x +1}\right )}{c}}{a}\) \(187\)

input
int(arccosh(a*x)^2/(-a^2*c*x^2+c),x,method=_RETURNVERBOSE)
 
output
1/a*(1/c*arccosh(a*x)^2*ln(1+a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))+2/c*arccosh( 
a*x)*polylog(2,-a*x-(a*x-1)^(1/2)*(a*x+1)^(1/2))-2/c*polylog(3,-a*x-(a*x-1 
)^(1/2)*(a*x+1)^(1/2))-1/c*arccosh(a*x)^2*ln(1-a*x-(a*x-1)^(1/2)*(a*x+1)^( 
1/2))-2/c*arccosh(a*x)*polylog(2,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))+2/c*poly 
log(3,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2)))
 
3.2.67.5 Fricas [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

input
integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="fricas")
 
output
integral(-arccosh(a*x)^2/(a^2*c*x^2 - c), x)
 
3.2.67.6 Sympy [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=- \frac {\int \frac {\operatorname {acosh}^{2}{\left (a x \right )}}{a^{2} x^{2} - 1}\, dx}{c} \]

input
integrate(acosh(a*x)**2/(-a**2*c*x**2+c),x)
 
output
-Integral(acosh(a*x)**2/(a**2*x**2 - 1), x)/c
 
3.2.67.7 Maxima [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

input
integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="maxima")
 
output
1/2*(log(a*x + 1) - log(a*x - 1))*log(a*x + sqrt(a*x + 1)*sqrt(a*x - 1))^2 
/(a*c) - integrate(((a*x*log(a*x + 1) - a*x*log(a*x - 1))*sqrt(a*x + 1)*sq 
rt(a*x - 1) + (a^2*x^2 - 1)*log(a*x + 1) - (a^2*x^2 - 1)*log(a*x - 1))*log 
(a*x + sqrt(a*x + 1)*sqrt(a*x - 1))/(a^3*c*x^3 - a*c*x + (a^2*c*x^2 - c)*s 
qrt(a*x + 1)*sqrt(a*x - 1)), x)
 
3.2.67.8 Giac [F]

\[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )^{2}}{a^{2} c x^{2} - c} \,d x } \]

input
integrate(arccosh(a*x)^2/(-a^2*c*x^2+c),x, algorithm="giac")
 
output
integrate(-arccosh(a*x)^2/(a^2*c*x^2 - c), x)
 
3.2.67.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\text {arccosh}(a x)^2}{c-a^2 c x^2} \, dx=\int \frac {{\mathrm {acosh}\left (a\,x\right )}^2}{c-a^2\,c\,x^2} \,d x \]

input
int(acosh(a*x)^2/(c - a^2*c*x^2),x)
 
output
int(acosh(a*x)^2/(c - a^2*c*x^2), x)